package work20241206_chap7.b;

/**
 * @author zdl
 * @date 2024/12/6
 */
class MyClass{
    final  int value ;
    public MyClass(){
        value = 10;
    }
    public MyClass(int value){
        this.value = value;
    }
}
public class TestMain {
    public static void main(String[] args) {
        MyClass myClass  =new MyClass(20);
        System.out.println(myClass.value);
    }
}
